package com.xgry.bpm.api.business.gateway.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.alibaba.fastjson.annotation.JSONField;

/**
 * <p>
 * TBGateway对象
 * </p>
 *
 * @author admin
 * @since 2020-07-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ToString
@TableName("t_b_gateway")
@ApiModel(value = "TBGateway对象", description = "门户表")
public class TBGateway implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "按钮主键")
    @ExcelIgnore
    @TableId(value = "id", type = IdType.AUTO)
    @JSONField(name = "id")
    private Integer id;

    @ApiModelProperty(value = "乐观锁")
    @ExcelIgnore
    @Version
    @JSONField(name = "version")
    private Integer version;

    @ApiModelProperty(value = "创建人")
    private String createdBy;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createdTime;

    @ApiModelProperty(value = "更新人")
    @TableField("updateBy")
    @Excel(name = "更新人")
    @JSONField(name = "updateBy")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "门户名称")
    private String vGatewayName;

    @ApiModelProperty(value = "门户url")
    private String vGatewayUrl;

    @ApiModelProperty(value = "门户图标")
    private String vGatewayIcon;

    @ApiModelProperty(value = "门户排序号")
    private Integer vGatewaySort;

    @ApiModelProperty(value = "门户编码")
    private String vGatewayCode;

    @ApiModelProperty(value = "模块状态 0:启用 1：停用")
    private String vGatewayState;


}